﻿package mlc.haxe.input.formatting;

/**
 * A formatter that formats a string that represents a number to an integer.
 */
class IntegerFormatter implements InputFormatter<Int> {
	/**
	 * Creates a new integer formatter.
	 */
	public function new():Void {
	}
	public function format(input:String):Int {
		return Std.parseInt(input);
	}
}